package 买卖股票的最佳时机含手续费;


/**
 * @author: AirMan
 * @date: 2025/5/16 11:24
 * @description:
 */
public class Test {
    public static void main(String[] args) {

        System.out.println(new Solution().maxProfit(new int[]{1, 3, 2, 8, 4, 9}, 2));

    }
}
